# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=ttyplot
pkgver=1.6.1
pkgrel=0
pkgdesc="Realtime plotting utility for terminal/console with data input from stdin"
url="https://github.com/tenox7/ttyplot"
arch="all"
options="!check" # No tests
license="Apache-2.0"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/tenox7/ttyplot/archive/$pkgver.tar.gz"

build() {
	make
}

package() {
	make MANPREFIX=/usr/share/man PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
cb21b28c86e1364536bdd417a99fa952a8c46623dbca5e6da31bf34763415fa7fcf0ecd6d02a8fc355a483ba64883412d4b448c2cdc1e397b81195c9fb1beffa  ttyplot-1.6.1.tar.gz
"
